Skip to main content

Android Audio Recorder

Type

library

Summary

This library provides Android audio recording functionality, via the android.media.MediaRecorder class.

Description

Use this library to record audio on Android.

note

This library requires RECORD_AUDIO, WRITE_EXTERNAL_STORAGE and CAPTURE_AUDIO_OUTPUT permissions. These will be automatically added to the application manifest when an application including this library is built.

Compatibility and Support

OS

android

Children Properties

Handler

NameSummarySyntax
androidRecorderStartRecordingStart recording an audio file, using the given filenameandroidRecorderStartRecording(<pFileName>)
androidRecorderSetRecordCompressionTypeSet the record compression typeandroidRecorderSetRecordCompressionType(<pCompressionType>)
androidRecorderSetRecordFormatSet the record output formatandroidRecorderSetRecordFormat(<pRecordFormat>)
androidRecorderSetRecordInputSet the record input sourceandroidRecorderSetRecordInput(<pInputSource>)
androidRecorderStopRecordingStop recordingandroidRecorderStopRecording()
androidRecorderGetMaxAmplitudeReturns the max amplitude of the recording since last sampledandroidRecorderGetMaxAmplitude()